package com.zoe.config;

import org.springframework.context.ApplicationListener;

/**
 * @Author Zoe.Zhang
 * @Date: 2021/08/12
 * @Description
 */
public class DIYApplicationEventListener implements ApplicationListener<DIYApplicationEvent> {
    @Override
    public void onApplicationEvent(DIYApplicationEvent event) {
        String address = event.getAddress();
        System.out.println("DIYApplicationEventListener监听到了消息:"+address);
    }
}
